package project.gui;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTabbedPane;

public class AppWindow extends JFrame {

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			@Override
			public void run() {
				try {
					AppWindow frame = new AppWindow();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public AppWindow() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setTitle("Program");
		setBounds(100, 100, 450, 300);

		JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);
		getContentPane().add(tabbedPane, BorderLayout.CENTER);

		JPanel jPanel_Machines = new JPanel();
		tabbedPane.addTab("Machines", null, jPanel_Machines, null);

		JScrollPane scrollPane = new JScrollPane();
		scrollPane.setToolTipText("");
		jPanel_Machines.add(scrollPane);

		JPanel jPanel_Jobs = new JPanel();
		tabbedPane.addTab("Jobs", null, jPanel_Jobs, null);

		JPanel jPanel_Scheduler = new JPanel();
		tabbedPane.addTab("Scheduler", null, jPanel_Scheduler, null);
	}

}
